package com.sky.mapper;

import com.sky.entity.User;
import org.apache.ibatis.annotations.Select;

public interface UserMapper {

    @Select("select * from user where openid = #{opid}")
    User findUserByOpenId(String openid);

    void insertUserInfo(User user);
}
